﻿<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true"
    CodeBehind="ChangePwd.aspx.cs" Inherits="ECRMS.WebClient.Users.ChangePwd" %>

<asp:Content ID="Content1" ContentPlaceHolderID="body" runat="server">
    <table class="x-table" cellspacing="1" id="pwdForm">
        <tbody>
            <tr>
                <td>原始密码:</td>
                <td><input type="password" id="OldPassword" name="oldPwd" class="textfield" /></td>
            </tr>
            <tr>
                <td>新密码:</td>
                <td><input type="password" id="NewPassword" name="cewPwd" class="textfield" /></td>
            </tr>
            <tr>
                <td>确认密码:</td>
                <td><input type="password" id="ConfirmPassword" name="confirmPwd" class="textfield" /></td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td><input type="button" value="确认修改" id="btnChangePwd" /></td>
            </tr>
        </tbody>
    </table>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="script" runat="server">
    <script type="text/javascript">
        $(function () {
            $('#btnChangePwd').click(function () {
                var data = $('#pwdForm').formSerialize();

                Ecrms.changePwd(data);
            });
        });
    </script>
</asp:Content>